<script setup lang="ts">
import useInfoState from "../../store/modules/info"

let infoState = useInfoState()
console.log(infoState.money)
let handle = () => {
  infoState.updateMoney()
}
</script>

<template>
  <div>我有{{ infoState.money }}</div>
  <button @click="handle">干</button>
</template>

<style scoped>

</style>
